package com.bumptech.glide.load.resource.bytes;

import com.bumptech.glide.load.engine.Resource;

public class BytesResource
  implements Resource<byte[]>
{
  private final byte[] bytes;

  public BytesResource(byte[] paramArrayOfByte)
  {
    if (paramArrayOfByte == null)
      throw new NullPointerException("Bytes must not be null");
    this.bytes = paramArrayOfByte;
  }

  public byte[] get()
  {
    return this.bytes;
  }

  public int getSize()
  {
    return this.bytes.length;
  }

  public void recycle()
  {
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.bumptech.glide.load.resource.bytes.BytesResource
 * JD-Core Version:    0.6.2
 */